package com.wanglibao.woodtrade.woodtrade.config;

import java.text.SimpleDateFormat;

/**
 * Created by lugg on 2016/4/5.
 */
public class Constant {

    public static final String PAKEAGE = "com.wanglibao.woodtrade.woodtrade";

    public static final String DB_NAME = "wood.db";
    public static final int DB_VERSION = 1;

    //data
    public static final SimpleDateFormat FULL_DATAFORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    //json 相关
    public static final String ERROR_CODE = "error_code";
    public static final String MSG = "msg";
    public static final String DATA = "data";
    public static final String CHILD = "child";
    public static final String TAG = "tag";
    public class ErrorCode{
        public static final int SUCCESS = 200;
        public static final int ERROR = 100;
    }

    //sharedpreferences 存放的key    start
    /**
     * 判断是否是 第一次启动
     * false / true
     */
    public static final String FIST_START = "first_start";
}
